<template>
  <div id="app">
    <div class="rou">
      <ul>
        <li>
          <router-link to="/">设计</router-link>
        </li>
        <li>
          <router-link to="/bazaar">市场</router-link>
        </li>
        <li>
          <router-link to="/develop">开发</router-link>
        </li>
      </ul>
      <img src="./assets/logo.png">
    </div>
    <div class="text">
      <!--  <router-view/> 使用路由规则替换成对应的组件  -->
      <router-view/>
    </div>
  </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;

}
ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
.rou {
  text-align: center;
  margin: 10px auto;
  text-decoration: none;
  color: #fff;
}

.rou a {
  color: black;
  text-decoration: none;
}
.rou a:hover{
  padding-bottom: 8px;

  border-bottom: 2px solid #4098ff;

}
.text{
  text-align: center;
  margin: auto;
  color: black;
}
</style>
